Masteriyo\Gateways\Paypal\Request A

Total Complexity 52
Dependencies 1
Dependents 1
Total lines 608
Lines of code 276
Logical lines of code 109
Comment lines 261
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
line_items_valid()
S
55 5 18
prepare_line_items()
S
58 5 14
get_phone_number_args()
S
53 4 22
get_paypal_args()
S
57 4 16
limit_length()
S
60 4 13
get_order_item_names()
S
53 3 23
get_transaction_args()
S
47 2 35
get_line_item_args()
S
59 3 14
get_request_url()
S
53 2 21
add_line_item()
S
54 2 20
get_order_item_name()
S
56 2 19
fix_request_length()
S
59 2 15
get_paypal_state()
S
64 3 10
round()
S
68 2 7
currency_has_decimals()
S
70 2 6
number_format()
S
68 2 7
get_line_item_args_single_item()
S
68 2 6
delete_line_items()
S
81 1 3
get_line_items()
S
82 1 3
__construct()
S
76 1 4